package com.lei.chinese_herbal_medicine.Service;

import com.lei.chinese_herbal_medicine.Entity.PageData;
import com.lei.chinese_herbal_medicine.Entity.UserInfo;

import java.util.List;

/**
 * (UserInfo)表服务接口
 *
 * @author makejava
 * @since 2024-01-18 10:05:28
 */
public interface UserInfoService {
    public UserInfo login(UserInfo userInfo);

    boolean register(UserInfo userInfo);

    boolean updateUserInfo(UserInfo u);

    UserInfo getUserInfo(String userId);

    List<UserInfo> getUserList(UserInfo userInfo, PageData pageData);

    boolean deleteUser(String id);
}


